package com.itheima.stock.mapper;

import com.itheima.stock.vo.req.RoleUserIdReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author 久思
* @description 针对表【sys_user_role(用户角色表)】的数据库操作Mapper
* @createDate 2023-09-24 15:22:07
* @Entity com.heima.stock.pojos.SysUserRole
*/
@Mapper
public interface SysUserRoleMapper {
    List<Long> getById(String userId);

    void delUserAssociationRoleInfo(Long userId);

    void insert(@Param("id") String id,
                @Param("userId") String userId,
                @Param("roleId") String roleId,
                @Param("createTime") Date createTime);
}
